
#ifndef _DEV_UART_H_
#define _DEV_UART_H_

#include <stdbool.h>
#include <stdint.h>

#define DEV_UART1	0
#define DEV_UART2	1

extern void uart_device_init(void);
extern uint16_t uart_write( const uint8_t *buf, uint16_t size);
extern uint16_t uart_read(uint8_t *buf, uint16_t size);

void dma_uart_test(void);


#endif 
